package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *   代充值
 * </p>
 *
 * @author yl
 * @since 2019-07-09
 */
@TableName("srecharge")
public class Srecharge implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 代充值表，主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     *类型
     */
    @TableField("type")
    private String type;

    /**
     * 申请日期
     */
    @TableField("date")
    private Date date;

    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;

    /**
     * 申请人id
     */
    @TableField("applicant_id")
    private Long applicantId;

    /**
     *充值金额
     */
    @TableField("number")
    private BigDecimal number;

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    /**
     * 流程Id
     */
    @TableField("process_instance_id")
    private String processInstanceId;



    /**
     *审核状态
     */
    @TableField("srecharge_status")
    private Long srechargeStatus;




    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getApplicantId() {
        return applicantId;
    }

    public void setApplicantId(Long applicantId) {
        this.applicantId = applicantId;
    }

    public BigDecimal getNumber() {
        return number;
    }

    public void setNumber(BigDecimal number) {
        this.number = number;
    }


    public Long getSrechargeStatus() {
        return srechargeStatus;
    }

    public void setSrechargeStatus(Long srechargeStatus) {
        this.srechargeStatus = srechargeStatus;
    }



    @Override
    public String toString() {
        return "Srecharge{" +
                "id=" + id +
                ", type='" + type + '\'' +
                ", date=" + date +
                ", remarks='" + remarks + '\'' +
                ", applicantId='" + applicantId + '\'' +
                ", number=" + number +
                ", shiRechargeType="+ +
                '}';
    }
}
